package com.shanzmoo.db.produce.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 生产单分页返回对象
 *
 * @author: Gzhao 2020/12/16
 */
@Data
@ApiModel("生产单分页返回对象")
public class FactoryOrderPageVo implements Serializable {

    private static final long serialVersionUID = 1758L;

    @ApiModelProperty("生产单ID")
    private Integer id;

    @ApiModelProperty("生产单号")
    private String productionNo;

    @ApiModelProperty("刷机组名称")
    private String rootGroupName;

    @ApiModelProperty("客户名称")
    private String memberName;

    @ApiModelProperty("原始单号")
    private String orderNo;

    @ApiModelProperty("0-生产中，1-生产完成")
    private Integer status;

    @ApiModelProperty("完成人")
    private String finishUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty("完成时间")
    private LocalDateTime finishTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @ApiModelProperty("分配时间")
    private LocalDateTime createTime;

}
